import java.io.File;
import java.io.FileReader;
import java.io.IOException;

public class Problem13 {

	public static void main(String[] args) throws IOException {
		FileReader fr = new FileReader(new File(
				"D:/oracle_java/MyProgect/bin/Problem13.txt"));

		char[] cbuf = new char[5000];
		double number = 0;
		fr.read(cbuf, 0, cbuf.length);
		char[] fifty = new char[50];
		char[] ten = new char[10];

		for (int i = 0; i <= 100; i++) {

			for (int j = 0; j <= 49; j++) {

				fifty[j] = cbuf[j];

			}
			number = number + Double.parseDouble(String.valueOf(fifty));
		}
		
		System.out.println(number);
	}
}
